<!DOCTYPE html>
<html>
  <head>
    <meta http-equiv="content-type" content="text/html; charset=utf-8" />
    <meta
      name="viewport"
      content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no"
    />

    <title>带标题描述的圆角图片手风琴效果</title>
    <link rel="stylesheet" href="../../libs/font-awesome.min.css">
    <link rel="stylesheet" href="index.css" />

    <link rel="icon" type="image/x-icon" href="../../../favicon.ico" />
</head>

  <body>
    <div class="container">
      <div
        class="item active"
        style="background-image: url(/images/133/sun.jpg)"
      >
        <div class="shadow"></div>
        <div class="content">
          <div class="icon">
            <i class="fa fa-sun-o"></i>
          </div>
          <div class="text">
            <div class="tit">这是标题</div>
            <div class="sub">这是一段描述</div>
          </div>
        </div>
      </div>
      <div class="item" style="background-image: url(/images/133/cloud.jpg)">
        <div class="shadow"></div>
        <div class="content">
          <div class="icon">
            <i class="fa fa-cloud"></i>
          </div>
          <div class="text">
            <div class="tit">这是标题</div>
            <div class="sub">这是一段描述</div>
          </div>
        </div>
      </div>
      <div class="item" style="background-image: url(/images/133/rain.jpg)">
        <div class="shadow"></div>
        <div class="content">
          <div class="icon">
            <i class="fa fa-tint"></i>
          </div>
          <div class="text">
            <div class="tit">这是标题</div>
            <div class="sub">这是一段描述</div>
          </div>
        </div>
      </div>
      <div class="item" style="background-image: url(/images/133/bolt.jpg)">
        <div class="shadow"></div>
        <div class="content">
          <div class="icon">
            <i class="fa fa-bolt"></i>
          </div>
          <div class="text">
            <div class="tit">这是标题</div>
            <div class="sub">这是一段描述</div>
          </div>
        </div>
      </div>
      <div class="item" style="background-image: url(/images/133/snow.jpg)">
        <div class="shadow"></div>
        <div class="content">
          <div class="icon">
            <i class="fa fa-snowflake-o"></i>
          </div>
          <div class="text">
            <div class="tit">这是标题</div>
            <div class="sub">这是一段描述</div>
          </div>
        </div>
      </div>
    </div>
    <script src="index.js"></script>
  </body>
</html>
